Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid duplicate log entries #6222

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

jcrist
Copy link
Member

@jcrist jcrist commented Jan 13, 2025

Previously the logger would have two sinks configured (the default + our custom one). This PR clears the default logger before registering our custom one.

@jcrist jcrist requested a review from a team as a code owner January 13, 2025 23:16
@jcrist jcrist requested review from dantegd and wphicks January 13, 2025 23:16
Copy link

copy-pr-bot bot commented Jan 13, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions bot added the Cython / Python Cython or Python issue label Jan 13, 2025
@vyasr
Copy link
Contributor

vyasr commented Jan 14, 2025

/ok to test

@vyasr vyasr added bug Something isn't working non-breaking Non-breaking change labels Jan 14, 2025
@vyasr
Copy link
Contributor

vyasr commented Jan 14, 2025

Looks like clear isn't currently exposed. We need to add the signature here then things should work.

Previously the logger would have two sinks configured (the default + our custom
one). This PR clears the default logger before registering our custom one.
@jcrist jcrist force-pushed the dont-duplicate-logs branch from 9dd4e11 to 71dc1cf Compare January 14, 2025 15:18
@jcrist
Copy link
Member Author

jcrist commented Jan 14, 2025

Thanks, done. I figured there might be something I missed - I still don't have a working dev environment, so this patch wasn't even built locally :/.

@vyasr
Copy link
Contributor

vyasr commented Jan 14, 2025

/ok to test

@vyasr
Copy link
Contributor

vyasr commented Jan 14, 2025

All good! Hopefully we get you to one today.

@vyasr
Copy link
Contributor

vyasr commented Jan 15, 2025

/merge

@vyasr
Copy link
Contributor

vyasr commented Jan 15, 2025

LGTM, thanks!

@rapids-bot rapids-bot bot merged commit f29293f into rapidsai:branch-25.02 Jan 15, 2025
60 of 62 checks passed
@jcrist jcrist deleted the dont-duplicate-logs branch January 15, 2025 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Cython / Python Cython or Python issue non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants